package com.jd;

import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

public class UserInfo {
    private String tenantId;
    private Collection<? extends GrantedAuthority> authorities;


    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Collection<? extends GrantedAuthority> getAuthorities() {
        return authorities;
    }

    public void setAuthorities(Collection<? extends GrantedAuthority> authorities) {
        this.authorities = authorities;
    }
}
